package com.wdcao.springboot.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import com.wdcao.springboot.service.TestService;
@Api()
@RestController
public class TestController {

    @Autowired
    private TestService testService;

    @ApiOperation(value = "获取用户信息",tags = "用户接口",notes = "hehe")
    @GetMapping("/getUser")
    public String getUser(){
        return testService.getUser();
    }
}
